package com.scheduler.backend.bl;

import com.scheduler.backend.aps.domain.Resource;
import com.scheduler.backend.vo.ResponseVO;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Date;

public interface OrderService {

    ResponseVO getOrderGanttByDate(Date date);

    ResponseVO getNewOrders(Date date);

    ResponseVO getAllOrders(Date date);

    ResponseVO getAllProducts();

    ResponseVO getOrderGantt(Date date, String orderId);
    ResponseVO deleteOrder(String orderId);
    ResponseVO addOrder(String orderId,String productId, int productNum,Date deadline);
}